package finance

class UserInvestment {

	Long id
    Long version
    User user
    InvestmentItem investment_item
	
    static constraints = {
    }
	
	static mapping = {
        table 'user_investment'
        columns {
        	id column: 'user_investment_id'
        }
    }
	
	String toString() {
		return "User Investment: ${id}, ${user}, ${investment_item}"
	}
}